﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Transport.Areas.Administrator.Models
{
    public class RateMappingModel
    {
        public int RateMappingId { get; set; }
        public int DeliverFromId { get; set; }
        public string DeliverFromName { get; set; }
        public int DeliverToId { get; set; }
        public string DeliverToName { get; set; }
        //This column have been defined in rates table. (Values: A, B, C, D, E)
        [Required(ErrorMessage = "Cột giá là bắt buộc chọn.")]
        public string RateColumn { get; set; }
        public List<GroupedSelectListItem> StateProvincesFrom { get; set; }
        public List<GroupedSelectListItem> StateProvincesTo { get; set; }
    }
}